import { FriendCellRenderer2 } from "./FriendCellRenderer2";
import { FriendInfo } from "../../model/FriendInfo";
import { PlayerOpRegister } from "../common/menu/PlayerOpRegister";
import { PlayerOpMenuConst } from "../common/menu/PlayerOpMenuConst";
//class FriendIntimateCellRenderer
    
    export  class FriendIntimateCellRenderer extends FriendCellRenderer2
    {
        constructor()
        {
            super();
            return;
        }

        public /* override */ set data(arg1: Object)
        {
            super.data = arg1;
            if (typeof arg1 === "friendinfo") 
            {
                _friendInfo = arg1 as FriendInfo;
                PlayerOpRegister.Register(this, _friendInfo.friendPlayerInfo, PlayerOpMenuConst.IntimateFriendOpMenu, _friendInfo);
                refresh();
            }
            return;
        }
    }
